<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>天生创想OA办公系统</title>
<link href="template/default/css/reset.css" rel="stylesheet" type="text/css" />
<link href="template/default/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
</head>
<body>
<style type="text/css"> 
	html{_overflow-y:scroll}
</style><div id="main_frameid" class="pad-10 display" style="_margin-right:-12px;_width:98.9%;">
<div class="col-2 lf mr10" style="width:48%">
	<h6>我的个人信息</h6>
	<div class="content">
	您好，<?=GET_INC_USER_NAME($_USER->id)?><br />
	所属权限组：<?=$_USER->groupname?> <br />
	<div class="bk20 hr"><hr /></div>
	上次登录时间：<?=$rs['logindate']?><br />
	上次登录IP：<?=$rs['ip']?> <br />
	</div>
</div>
<div class="col-2 col-auto">
	<h6>消息提示</h6>
	<div class="content" style="height:91px;">
	<div class=" content-menu ib-a blue line-x">
    <a href='?type=sms' <? if($_GET['type']=='sms' || $_GET['type']==''){?>class="on"<? }?>><em>短消息</em></a>
	</div>
	<?php
	if($_GET['type']=='sms' || $_GET['type']==''){
		echo $sms;
	}
	?>

	</div>
</div>

<div class="bk10"></div>
<div class="col-2 lf mr10" style="width:48%">
	<h6>快捷阅读</h6>
	<div class="content" id="admin_panel">
	<?foreach ($result as $row) {?>
			<span>
			[<a href="admin.php?ac=news&fileurl=workbench&type=<?=$row['type']?>">
			<?php
			if ($row[type]=='1'){
				$_news['title']='新闻';
			}elseif($row[type]=='2'){
				$_news['title']='图片新闻';
			}elseif($row[type]=='3'){
				$_news['title']='公告';
			}elseif($row[type]=='4'){
				$_news['title']='通知';
			}elseif($row[type]=='5'){
				$_news['title']='大事记';
			}elseif($row[type]=='6'){
				$_news['title']='电子期刊';
			}
			echo $_news['title'];
			?>
			</a>]   
		</span><span>
			<a href="admin.php?ac=news&fileurl=workbench&do=views&id=<?=$row['id']?>&type=<?=$row['type']?>"><?=$row['subject']?></a>  
		</span><br>
		<?}?>
		</div>

</div>
<div class="col-2 col-auto">
	<h6>文件信息</h6>
	<div class="content" id="admin_panel">
	<?foreach ($results as $row) {?>
			<span>
			[<a href="admin.php?ac=document&fileurl=knowledge&type=<?=$row['type']?>">
			<?php
			if ($row[type]=='1'){
				$_title['title']='个人文件柜';
			}elseif($row[type]=='2'){
				$_title['title']='公共文件柜';
			}elseif($row[type]=='3'){
				$_title['title']='网络硬盘';
			}elseif($row[type]=='4'){
				$_title['title']='下载';
			}elseif($row[type]=='5'){
				$_title['title']='规章制度';
			}elseif($row[type]=='6'){
				$_title['title']='报表中心';
			}
			echo $_title['title'];
			?>
			</a>]   
		</span><span>
			<a href="admin.php?ac=document&fileurl=knowledge&do=views&id=<?=$row['id']?>&type=<?=$row['type']?>"><?=$row['title']?></a>  
		</span><br>
		<?}?>
		</div>
</div>
<div class="bk10"></div>
<div class="col-2 lf mr10" style="width:48%">
	<h6>美华新智力OA办公系统</h6>
	<div class="content">
	版权所有：北京美华新智力技术有限公司<br />
	软件名称：美华新智力OA<br />
	软件版本：<?=$_CONFIG->config_data('com_editionnum')?><br />
	字符编码：UTF-8<br />
	官方网站：<a href="http://www.newzhili.com/" target="_blank">http://www.newzhili.com/</a> <br />
	官方论坛：<a href="#" target="_blank">#</a> 
	</div>
</div>
 
<div class="col-2 col-auto">
	<h6>授权信息</h6>
	<div class="content">
	美华新智力OA软件版本：<?=$_CONFIG->config_data('com_editionnum')?>[<a href="http://bbs.515158.com/" target="_blank">技术支持与服务</a>]<br />
	授权类型：<span id="phpcms_license">商业版</span> <br />
	授权企业：<span id="phpcms_license"><?=$_CONFIG->config_data('com_name')?></span> <br />
	授权ID：<span id="phpcms_license"><?=$_CONFIG->config_data('com_userid')?></span> <br />
	序列号：<span id="phpcms_sn"><?=$_CONFIG->config_data('com_number')?></span> <br />
	[<a href="admin.php?ac=version&fileurl=mana">点击查看更多授权信息</a> ]<br />
	</div>
</div>
    <div class="bk10"></div>
</div>
</body></html>
